package com.bitin.adorn.modules.system.service;

import com.bitin.adorn.modules.system.domain.Department;

import java.util.List;

/**
 * @author Mr.Lu
 * @since 2024/6/5 15:16
 */
public interface DepartmentService {

    Department save(Department department);

    List<Department> list();

    Department findById(Long id);

    void deleteById(Long id);

    Department addChild(Long id, Department department);

    Department removeChild(Long id, Long childId);
}
